package com.yq.testmodule.entity;



import java.io.Serializable;


public class ChannelEntity implements Serializable {

    private Long id;

    private static final long serialVersionUID = -640069208083517333L;

    public String fname;

    public String name;


    public String cname;

    public String isShow;

    public String type;
    public String isFixed;
    public String image;
    public String content;
    private String isNew;
    private boolean isClick = false;
    private String selectChsDay;//日间简体选中图标",
    private String selectChsNight;// "夜间简体选中图标",
    private String selectChtDay;// "日间繁体选中图标",
    private String selectChtNight;// "夜间繁体选中图标",
    private String noSelectChsDay;//日间简体未选中图标",
    private String noSelectChsNight;//"夜间简体未选中图标",
    private String noSelectChtDay;// "日间繁体未选中图标",
    private String noSelectChtNight;// "夜间繁体未选中图标"
    private String cardWord;//海报卡片映射词
    private String isShowCardPic;//是否显示海报分享图片
    private String isShare;//是否支持频道分享
    private String pdShareUrl;//分享链接
    private String pdShareTitle;//分享简体标题
    private String shareAbstract;//分享简体摘要
    private String shareMinimg;//分享缩略图url
    private String shareCard;//海报卡片url
    private String pdShareFtTitle;//分享繁体标题
    private String shareFtAbstract;//分享繁体摘要
    private String statusBar;//状态栏色值，默认返回""
    private String earthImg;//小地球图，默认返回""
    private String smallPlus;//频道栏小加号图，默认返回""
    private String magnifierImg;//放大镜图，默认返回""
    private String logoImg;//logo图，默认返回""
    private String searchText;//搜索栏滚动文字色值，默认返回""
    private String channelBackground;//频道滚动背景图色值，默认返回""
    private String isHaveSub;//是否包含二级频道配置，yes,no；默认返回no
    private String noSelectWordColor;//未选中文字色值，默认返回""
    private String selectWordColor;//选中文字色值，默认返回""
    private String topBackground;//顶部背景图色值，默认返回""
    private String searchBackground;//搜索栏背景色值，默认返回""
    private String bgImage;//频道氛围头图，默认返回""
    private String pictureRatio;//图片宽高比
    private String isControlStyle;//控制频道样式展示，yes，no；yes:使用配置数据
    private String cutHomeImg;//返回首页图标，默认返回""
    private String isProvince;//是否是地方频道
    private String loading_word_color;//定制背景频道刷新文字颜色
    private String refresh_icon_color;//定制背景频道刷新图标颜色

    //该频道是否需要置灰
    private String isAsh;

    public boolean isGrayMode() {
        return "yes".equals(isAsh);
    }


    private long stablId;


    public ChannelEntity() {
    }


    public String getIsAsh() {
        return isAsh;
    }

    public void setIsAsh(String isAsh) {
        this.isAsh = isAsh;
    }

    public String getFname() {
        return fname;
    }

    public void setFname(String fname) {
        this.fname = fname;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public String getIsShow() {
        return isShow;
    }

    public void setIsShow(String isShow) {
        this.isShow = isShow;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj instanceof ChannelEntity) {
            ChannelEntity u = (ChannelEntity) obj;
            return this.cname.equals(u.cname);
        }
        return super.equals(obj);
    }

    public String getType() {
        return this.type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getIsFixed() {
        return isFixed;
    }

    public void setIsFixed(String isFixed) {
        this.isFixed = isFixed;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public long getStablId() {
        return stablId;
    }

    public void setStablId(long stablId) {
        this.stablId = stablId;
    }

    public String getIsNew() {
        return this.isNew;
    }

    public void setIsNew(String isNew) {
        this.isNew = isNew;
    }

    public boolean getIsClick() {
        return this.isClick;
    }

    public void setIsClick(boolean isClick) {
        this.isClick = isClick;
    }

    public String getSelectChsDay() {
        return this.selectChsDay;
    }

    public void setSelectChsDay(String selectChsDay) {
        this.selectChsDay = selectChsDay;
    }

    public String getSelectChsNight() {
        return this.selectChsNight;
    }

    public void setSelectChsNight(String selectChsNight) {
        this.selectChsNight = selectChsNight;
    }

    public String getSelectChtDay() {
        return this.selectChtDay;
    }

    public void setSelectChtDay(String selectChtDay) {
        this.selectChtDay = selectChtDay;
    }

    public String getSelectChtNight() {
        return this.selectChtNight;
    }

    public void setSelectChtNight(String selectChtNight) {
        this.selectChtNight = selectChtNight;
    }

    public String getNoSelectChsDay() {
        return this.noSelectChsDay;
    }

    public void setNoSelectChsDay(String noSelectChsDay) {
        this.noSelectChsDay = noSelectChsDay;
    }

    public String getNoSelectChsNight() {
        return this.noSelectChsNight;
    }

    public void setNoSelectChsNight(String noSelectChsNight) {
        this.noSelectChsNight = noSelectChsNight;
    }

    public String getNoSelectChtDay() {
        return this.noSelectChtDay;
    }

    public void setNoSelectChtDay(String noSelectChtDay) {
        this.noSelectChtDay = noSelectChtDay;
    }

    public String getNoSelectChtNight() {
        return this.noSelectChtNight;
    }

    public void setNoSelectChtNight(String noSelectChtNight) {
        this.noSelectChtNight = noSelectChtNight;
    }

    public String getCardWord() {
        return this.cardWord;
    }

    public void setCardWord(String cardWord) {
        this.cardWord = cardWord;
    }

    public String getIsShowCardPic() {
        return this.isShowCardPic;
    }

    public void setIsShowCardPic(String isShowCardPic) {
        this.isShowCardPic = isShowCardPic;
    }

    public String getPdShareUrl() {
        return this.pdShareUrl;
    }

    public void setPdShareUrl(String pdShareUrl) {
        this.pdShareUrl = pdShareUrl;
    }

    public String getPdShareTitle() {
        return this.pdShareTitle;
    }

    public void setPdShareTitle(String pdShareTitle) {
        this.pdShareTitle = pdShareTitle;
    }

    public String getShareAbstract() {
        return this.shareAbstract;
    }

    public void setShareAbstract(String shareAbstract) {
        this.shareAbstract = shareAbstract;
    }

    public String getShareMinimg() {
        return this.shareMinimg;
    }

    public void setShareMinimg(String shareMinimg) {
        this.shareMinimg = shareMinimg;
    }

    public String getShareCard() {
        return this.shareCard;
    }

    public void setShareCard(String shareCard) {
        this.shareCard = shareCard;
    }

    public String getPdShareFtTitle() {
        return this.pdShareFtTitle;
    }

    public void setPdShareFtTitle(String pdShareFtTitle) {
        this.pdShareFtTitle = pdShareFtTitle;
    }

    public String getShareFtAbstract() {
        return this.shareFtAbstract;
    }

    public void setShareFtAbstract(String shareFtAbstract) {
        this.shareFtAbstract = shareFtAbstract;
    }

    public String getIsShare() {
        return isShare;
    }

    public void setIsShare(String isShare) {
        this.isShare = isShare;
    }

    public String getStatusBar() {
        return statusBar;
    }

    public void setStatusBar(String statusBar) {
        this.statusBar = statusBar;
    }

    public String getEarthImg() {
        return earthImg;
    }

    public void setEarthImg(String earthImg) {
        this.earthImg = earthImg;
    }

    public String getSmallPlus() {
        return smallPlus;
    }

    public void setSmallPlus(String smallPlus) {
        this.smallPlus = smallPlus;
    }

    public String getMagnifierImg() {
        return magnifierImg;
    }

    public void setMagnifierImg(String magnifierImg) {
        this.magnifierImg = magnifierImg;
    }

    public String getLogoImg() {
        return logoImg;
    }

    public void setLogoImg(String logoImg) {
        this.logoImg = logoImg;
    }

    public String getSearchText() {
        return searchText;
    }

    public void setSearchText(String searchText) {
        this.searchText = searchText;
    }

    public String getChannelBackground() {
        return channelBackground;
    }

    public void setChannelBackground(String channelBackground) {
        this.channelBackground = channelBackground;
    }

    public String getIsHaveSub() {
        return isHaveSub;
    }

    public void setIsHaveSub(String isHaveSub) {
        this.isHaveSub = isHaveSub;
    }

    public String getNoSelectWordColor() {
        return noSelectWordColor;
    }

    public void setNoSelectWordColor(String noSelectWordColor) {
        this.noSelectWordColor = noSelectWordColor;
    }

    public String getSelectWordColor() {
        return selectWordColor;
    }

    public void setSelectWordColor(String selectWordColor) {
        this.selectWordColor = selectWordColor;
    }

    public String getTopBackground() {
        return topBackground;
    }

    public void setTopBackground(String topBackground) {
        this.topBackground = topBackground;
    }

    public String getSearchBackground() {
        return searchBackground;
    }

    public void setSearchBackground(String searchBackground) {
        this.searchBackground = searchBackground;
    }

    public String getBgImage() {
        return bgImage;
    }

    public void setBgImage(String bgImage) {
        this.bgImage = bgImage;
    }

    public String getPictureRatio() {
        return pictureRatio;
    }

    public void setPictureRatio(String pictureRatio) {
        this.pictureRatio = pictureRatio;
    }

    public String getIsControlStyle() {
        return isControlStyle;
    }

    public void setIsControlStyle(String isControlStyle) {
        this.isControlStyle = isControlStyle;
    }

    public String getCutHomeImg() {
        return cutHomeImg;
    }

    public void setCutHomeImg(String cutHomeImg) {
        this.cutHomeImg = cutHomeImg;
    }

    public String getIsProvince() {
        return isProvince;
    }

    public void setIsProvince(String isProvince) {
        this.isProvince = isProvince;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getLoading_word_color() {
        return loading_word_color;
    }

    public void setLoading_word_color(String loading_word_color) {
        this.loading_word_color = loading_word_color;
    }

    public String getRefresh_icon_color() {
        return refresh_icon_color;
    }

    public void setRefresh_icon_color(String refresh_icon_color) {
        this.refresh_icon_color = refresh_icon_color;
    }


}
